package com.baigu.admin.rpc.service.impl;

import com.baigu.admin.rpc.api.BgOrderAdminService;
import com.baigu.admin.rpc.api.model.BgOrderAdminModel;
import com.baigu.admin.rpc.mapper.BgOrderAdminMapper;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 后台订单管理service
 * Created by lzg on 2017/11/24.
 */
public class BgOrderAdminServiceImpl implements BgOrderAdminService {

    @Autowired
    private BgOrderAdminMapper bgOrderAdminMapper;

    @Override
    public BgOrderAdminModel findOrders(String customerName) {
        return bgOrderAdminMapper.findOrders(customerName);
    }
}
